package com.neusoft.approveserver.dto;

import com.neusoft.approveserver.entity.Approval;

public class ApprovalAdd {
    Integer chanceId;
    String role;
    Approval approval;

    @Override
    public String toString() {
        return "ApprovalAdd{" +
                "chanceId=" + chanceId +
                ", role='" + role + '\'' +
                ", approval=" + approval +
                '}';
    }

    public ApprovalAdd() {
    }

    public ApprovalAdd(Integer chanceId, String role, Approval approval) {
        this.chanceId = chanceId;
        this.role = role;
        this.approval = approval;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Integer getChanceId() {
        return chanceId;
    }

    public void setChanceId(Integer chanceId) {
        this.chanceId = chanceId;
    }

    public Approval getApproval() {
        return approval;
    }

    public void setApproval(Approval approval) {
        this.approval = approval;
    }
}
